home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / misc / vgadoc3.arj / WHATVGA.DOC < prev    next >
Text File  |  1994-01-19  |  19KB  |  528 lines

  1.  
  2.                 WHATVGA version 1.50  17/jan/94
  3.  
  4.  
  5.          Copyright 1991,92,93,94   Finn Th¢gersen
  6.          All Rights Reserved
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. Command line switches:
  15.  
  16.   whatvga [+acumos] [-ncr] [=1024] [/a]
  17.  
  18.   where +chipset  forces WHATVGA to proceed as if this chipset was found.
  19.                   The test for this chip set will be executed in order
  20.                   to check for memory and revision.
  21.                   No other chipsets will be tested.
  22.  
  23.         -chipset  ensures that the tests for this chipset will NOT be
  24.                   executed. Useful if a chipset is misidentified
  25.                   or some earlier test gives problems.
  26.  
  27.         =kbytes   Forces the number of Kbytes of video RAM on the
  28.                   adapter to the specified value.
  29.         
  30.         /a        Run automatic test and write results to a file.
  31.                   The user responds with Y or N to each test and can
  32.                   enter comments to the individual tests.
  33.                   On startup you may be asked to select the video system
  34.                   to test (say if you have a VESA driver loaded).
  35.                   If the program seems to halt for more than a few seconds
  36.                   try to press the enter key.
  37.  
  38.                   The recommanded way to use the program is to start it
  39.                   with no command line parameters and play with it a bit.
  40.                   See that the chipset, memory and DAC are ID'd properly
  41.                   and that you can display at least some super VGA modes.
  42.                   Then run the program with /a to do the full test.
  43.                   For the /a test, the system should be as "clean" as
  44.                   possible, as TSRs (including mouse and keyboard drivers)
  45.                   and memory managers can sometimesaffect the results.
  46.                   Try booting from a floppy.
  47.  
  48.                   Comments should only be entered when something is wrong
  49.                   or needs clarification. Ie. there is no need to enter
  50.                   "Fine" or "All ok" thats what the yes/no queries are for.
  51.                   When something is wrong try to be as descriptive as
  52.                   possible (remember, I can't see the screen).
  53.  
  54. Note that the files CHIPS.LST and WHATVGA.LST must be in the current
  55. directory for WHATVGA to functiion.
  56.  
  57. If you have problems with the identification/startup:
  58.  
  59.  - The screen goes blank or all white...
  60.    Try to run: WHATVGA /d
  61.    This will display the name of each chipset and waits for
  62.    you to press the Enter key BEFORE the chipset is tested.
  63.    When you have found the offending chipsets, try to run:
  64.      WHATVGA -Chips&Tech     (assuming Chips&Tech is the one)
  65.    Report the problem.
  66.  
  67.  - The chipset is misidentified.
  68.    Try to run: WHATVGA -chipset
  69.    where chipset is one of the following:
  70.      Chips&Tech    Chips & Technologies
  71.      Paradise      Paradise/Western Digital
  72.      Video7        Video7
  73.      ET3000        Tseng Et3000
  74.      ET4000        Tseng ET4000, ET4000/W32
  75.      Trident       Trident 8800/8900/9000
  76.      Everex        Everex
  77.      ATI           ATI VGA Wonder/Graphics Ultra +/Pro
  78.      Genoa
  79.      Oak           Oak 37/67/77/87
  80.      Cirrus        Cirrus 5x0/6x0
  81.      Ahead         Ahead A&B
  82.      NCR           NCR 77c2x
  83.      Yamaha        Yamaha 6388
  84.      S3            S3 86c series
  85.      AL2101        Avance Logic ALG2101
  86.      MXIC          MXIC 860x0
  87.      Realtek       Realtek
  88.      PRIMUS        Primus P2000
  89.      Cirrus54      Cirrus CL-GD54xx
  90.      Cirrus64      Cirrus CL-GD64xx
  91.      Weitek        Weitek W5x86
  92.      COMPAQ        Compaq IVGA/AVGA/QVision
  93.      UMC           UMC 85c408
  94.      HMC           HMC HM86304
  95.  
  96.  - Memory Size is identified wrong.
  97.    Run WHATVGA =2048    (or how many Kbytes you have)
  98.    Report the problem.
  99.  
  100.  
  101. Whatvga has 6 options in the main menu:
  102.  
  103.   1 Test standard VGA
  104.  
  105.     Allows you to test the standard VGA video modes.
  106.     Draws a test pattern, including a color palette
  107.     and writes basic information as text on the display.
  108.  
  109.     See 2) for the details.
  110.  
  111.   2 Test extended modes
  112.  
  113.     Allows you to test the extended video modes of the adapter.
  114.     Draws a test pattern, including a color palette
  115.     and writes basic information as text on the display.
  116.     On the upper and left edge every hundred pixels is marked.
  117.  
  118.     when you press a key the testpattern is drawn again, this time
  119.     in the largest size the available video memory will support
  120.     ("Virtual Screen"), allowing you to scroll around in the display
  121.     using the arrow keys. You should be able to move in the entire
  122.     pattern, but not to move so far right or down that the display wraps. 
  123.     If you can move past the right edge (or can't reach it) then the
  124.     scroll function probably needs a factor 2 (divide or multiply)
  125.     in the SetVStart function.
  126.  
  127.     When you press the Enter key a textscreen is shown with the
  128.     statistics for the mode, this screen also shown if the rutine
  129.     to analyse the mode from the register values (AnalyseMode) reaches
  130.     the same result. If not the values are shown as "Calculated".
  131.  
  132.     By pressing "d" or "D" you can see a dump of all the VGA (and extended)
  133.     registers. The registers can be saved (appended) to the file REGISTER.VGA
  134.     by pressing "f" or "F".
  135.  
  136.   3 Search for modes
  137.  
  138.     Sequentially attempts to set modes 14h to 7Fh, each time testing
  139.     if the mode was succesfully set. If so the testpattern is drawn
  140.     and the mode is analysed.
  141.     
  142.  
  143.   5 Hardware Cursor test
  144.  
  145.     This item attempts to place a 32x32 hardware Cursor in the
  146.     selected mode. The cursor can be moved around on the screen
  147.     with the arrow keys.
  148.  
  149.   6 BitBLT test
  150.  
  151.     This item first draws the testpattern, then draws the color palette
  152.     with BitBLT operations, then makes two blockcopies via BitBLT of
  153.     the two palettes, and finally draws a series of rectangles each smaller
  154.     than the last to test precision (you need to press a key for each box)
  155.  
  156.  
  157.   7 Line Draw test
  158.  
  159.     This item attempts to draw lines from the center of the screen
  160.     in a "wheel" using different colors.
  161.  
  162.   8 Read/Write bank test
  163.  
  164.     This item copies the area with the color palette to the lower half
  165.     of the screen using seperate read/write banks.
  166.  
  167.   0 Exit
  168.  
  169.   Items 5-8 are only present if I believe the adapter supports the function,
  170.   though you can always try the test by pressing the key.
  171.  
  172.  
  173.   Special functions for test purposes (may hang your PC or worse):
  174.  
  175.   B Register Bit test.
  176.  
  177.     You are asked for the base register (such as 3C0h, 3C4h, 3CEh or
  178.     3d4h), starting index and starting bit number (0-7).
  179.     Then you select the mode for the test.
  180.  
  181.     Now the test pattern is drawn in the desired mode, but using the
  182.     entire video memory (like the "virtual screen").
  183.     The selected bit will be changed for ~0.5 sec, then restored for
  184.     another 0.5 sec. This repeats until another bit is selected by
  185.     -, + or * or the test is stopped by the Esc key.
  186.  
  187.     This can be used figure out the function of individual bits, the
  188.     Display Start extension bits being the obvious example (and the
  189.     intended target), but also clock bits etc.
  190.  
  191.     !!NOTE!! this may hang your PC or expose your video card or monitor
  192.     to conditions beoynd their intended operational specifications.
  193.     While damage to your monitor or video card is extremely unlikely
  194.     (I haven't heard of a confirmed case since the old IBM MDA monitor),
  195.     it is theoretically possible and my insurence company refuses to
  196.     recognize any responsibility what so ever :-).
  197.  
  198.     Hanging your PC is however a very real possibility.
  199.     Note the bit you were testing, reboot (power off may be required)
  200.     and restart from the NEXT bit.
  201.  
  202.   D DAC 6/8 bit test
  203.  
  204.     A test pattern is drawn in the selected 256color mode.
  205.     The palette is set up to use the full 256 of 16m palette (256
  206.     shades of each basic color). When the DAC is in 6bit mode there
  207.     are only 64 shades, thus the color bars will "break".
  208.     The keys 6 and 8 switches between 6bit and 8bit DAC mode
  209.     (if the 8bit DAC mode works :-) ).
  210.     Esc or Enter terminater the test.
  211.     Currently this only works for the AT&T,Brooktree and Sierra 24bit DACs.
  212.  
  213.  
  214.  
  215. The tests:
  216.  
  217. ID:      Is the Chip Set, DAC and video memory identified correctly?
  218.  
  219. Xres:    Are the modes (standard and extended) displayed correctly?
  220.          Display type, Switch settings and BIOS versions can cause
  221.          some modes to be unavailable or out of sync.
  222.  
  223. Scrl:    Can you display and scroll in the Virtual Screen ?
  224.          You should be able to move in the entire virtual screen,
  225.          but not to move so far right or down that the display wraps.
  226.          If you can move past the right edge (or can't reach it)
  227.          we probably miss a factor of two in the SetVStart function.
  228.          If the display wraps when the start crosses the middle (or 1/4)
  229.          of memory we have a problem with the high bits (the Y variable)
  230.          in the SetVStart function or with an enable bit.
  231.          Also part of video memory can be inaccessible in modes that
  232.          normally only use <half the memory causing the testpattern to
  233.          be overwritten.
  234.     
  235. Anal:    Are the modes (particularly the extended ones) analysed
  236.          correctly (Ie are there no "Calculated" fields) ?        
  237.          Some modes, such as 2 and 4 color and mode 13h are
  238.          hard to ID on many adapters.
  239.  
  240. Cur:     Is the HardWare cursor shown correctly and can it be moved
  241.          around the display with the arrow keys ?
  242.          The cursor should look like a snipers sights with a dot in the
  243.          upper left corner.
  244.  
  245. Blit:    Is the second palette drawn correctly ? Are the palettes
  246.          copied correctly ? Are the boxes placed correctly
  247.          (each one pixels smaller in each direction) ?
  248.  
  249. Line:    Are the lines drawn from the middle to fill a rectangle ?
  250.  
  251. RWbank:  Is the palette (and text) copied correctly ?
  252.  
  253.  
  254. Adapters tested:
  255.  
  256.  
  257.                 ID: Xres: Scrl:  Anal:  Cur:  Blit:  Line:  RWbank:
  258.  
  259. Acumos:  See Cirrus 5401 and 5402
  260. Ahead:
  261.   A
  262.   B             Ok  Ok*   Ok     Ok                         Ok
  263. ATI:
  264.   18800         Ok  Ok    Ok     Ok                         N/A
  265.   18800-1
  266.   28800-2       Ok  Ok    Ok     Ok                         Ok
  267.   28800-4
  268.   28800-5
  269.   68800         Ok  Ok*   Ok     Ok                         Ok
  270. Avance Logic:   .   .     .      .      .     .      .      .
  271.   AL2101        Ok  Ok    Ok     Ok     Ok*   Ok%    Ok%    Ok
  272. Chips&Tech:
  273.   82c450
  274.   82c451
  275.   82c452        Ok  Ok*   Ok     Ok     Ok
  276.   82c453
  277.   82c455
  278.   82c456
  279.   82c457
  280.   F65520
  281.   F65530
  282. Cirrus:         .   .     .      .      .     .      .      .
  283.   510/520       Ok                            N/A    N/A    N/A
  284.   610/620                                     N/A    N/A    N/A
  285.   5401(AVGA1)   No
  286.   5402(AVGA2)   Ok  Ok    Ok     Ok     Ok
  287.   5410
  288.   5420          Ok  Ok    Ok     Ok     Ok%^  N/A    N/A    N/A
  289.   5422          Ok  Ok    Ok     Ok     Ok^   N/A    N/A    N/A
  290.   5424          Ok  Ok    Ok     Ok     Ok^   N/A    N/A    N/A
  291.   5426          Ok  Ok    Ok     Ok     Ok^                 N/A
  292.   5428
  293.   543x
  294.   6205
  295.   6215
  296.   6225
  297.   6235
  298.   6410          Ok  Ok    Ok     Ok
  299.   6412
  300.   6420          Ok  Ok*   Ok     Ok                         No
  301.   6440
  302. Compaq:
  303.   IVGS
  304.   AVGA
  305.   QVGA          Ok  Ok    Ok*    *      Ok    Ok*^
  306.   QVGA1280
  307. Everex:
  308. Genoa:          .   .     .      .      .     .      .      .
  309.   51/5200
  310.   53/5400
  311.   6100
  312.   62/6300
  313.   64/6600
  314.   7900
  315. HMC:
  316.   HM86304       Ok  Ok*   Ok     Ok
  317. IIT:
  318.   AGX-14
  319.   AGX-15
  320. MXIC:
  321.   86000         Ok  Ok    Ok     Ok                         Ok
  322.   86010         Ok  Ok    Ok     Ok                         Ok
  323. NCR:
  324.   77C20
  325.   77C21
  326.   77C22E        Ok  Ok    Ok     Ok     Ok#                 Ok
  327.   77C22E+
  328. Oak:            .   .     .      .      .     .      .      .
  329.   OTI-37C       Ok
  330.   OTI-067       Ok  Ok    Ok     Ok                         Ok
  331.   OTI-077       Ok  Ok*   Ok     Ok                         Ok
  332.   OTI-087       Ok  Ok*   Ok     OK                         OK
  333. Paradise/Western Digital:
  334.   PVGA1A        Ok  Ok
  335.   WD90C00       Ok  Ok    Ok     Ok
  336.   WD90C10
  337.   WD90C11
  338.   WD90C2x
  339.   WD90C30       Ok  Ok    Ok     Ok                         Ok
  340.   WD90C31       Ok  Ok    Ok     Ok     Ok*   Ok*           Ok
  341.   WD90c33       Ok  Ok    Ok*    Ok     Ok*                 Ok
  342. Primus:
  343.   P2000         Ok  Ok    Ok*    Ok           Ok%           Ok
  344. Realtek:
  345.   RT3106        Ok  Ok    Ok     Ok                         Ok
  346. S3:             .   .     .      .      .     .      .      .
  347.   86c911                                                    N/A
  348.   86c911A/24    Ok  Ok    Ok     Ok     Ok    Ok     Ok     N/A
  349.   86c801                                                    N/A
  350.   86c805                                                    N/A
  351.   86c928                                                    N/A
  352. Trident:
  353.   8800BR                                                    N/A
  354.   8800CS                                                    N/A
  355.   8900B         Ok  Ok    Ok*    Ok                         N/A
  356.   8900C         Ok  Ok    Ok*    OK                         N/A
  357.   9000                                                      N/A
  358.   8900CL        Ok  Ok    Ok     Ok
  359.   9000i         Ok  Ok    Ok     Ok
  360. Tseng:          .   .     .      .      .     .      .      .
  361.   ET3000        Ok  Ok*   Ok     Ok                         Ok
  362.   ET4000        Ok  Ok    Ok     Ok                         Ok
  363.   ET4000W32     Ok  Ok    Ok     Ok     Ok%^                Ok
  364.   ET4000W32i
  365. UMC:
  366.   UMC85c408     Ok  Ok    Ok     Ok                         Ok
  367. Video7/Headland:
  368.   HT-208
  369.   HT-216
  370. Weitek:
  371.   W5086
  372.   W5186         Ok* Ok    Ok*    Ok
  373.   W5286
  374.   P9000
  375. Yamaha:
  376.   6388
  377.  
  378.  
  379. * Note
  380. # Not in 16 color modes
  381. $ Not in 256 color modes
  382. % Not in 32k/64k color modes
  383. ^ Not in 16m color modes
  384.  
  385.  
  386. ATI Graphics Ultra Pro:
  387. Mode 13h has problems above 64Kb.
  388. Can't get the cursor to work yet
  389.  
  390. Avance Logic AL2101:
  391. In interlaced modes the cursor is twice the normal size.
  392. While copy via BitBLT works in HiColor modes, Fill does not.
  393. LIne draw doesn't work in HiColor modes.
  394.  
  395. Chips&Tech 82c450:
  396. There appears to be problems identifying this chipset
  397. (black screen...).
  398.  
  399. Chips&Tech 82c452:
  400. Mode 13h apparently can't cross the 64k line
  401.  
  402. Cirrus CL-GD54xx:
  403. Mode 13h can't cross the 64k limit
  404. Cursor OK except 16m modes (Hardware limitation ?)
  405.  
  406. Cirrus CL-GD6420.
  407. Mode 13h has problems at the 128K and 256K borders.
  408. Read/Write bank doesn't appear to work
  409.  
  410. Compaq Qvision 1024:
  411. Cursor ok except 16m modes.
  412. Scroll ok except 1024x768x16c
  413. The BIOS hangs when mode 4Fh is set.
  414.  
  415. HMC HM86304:
  416. Mode 13h can not cross 64k. 4 color modes don't work yet
  417.  
  418. MXIC 86000:
  419. The detection of MX86000/86010 appears to work, but let me know if
  420. you see otherwise.
  421.  
  422. Oak-077:
  423. Mode 13h has problems beoynd 64k.
  424.  
  425. Oak-087:
  426. The scroll rutine is only tested to 1MB.
  427. Mode 13h has problems beoynd 64k.
  428.  
  429. Primus P2000:
  430. Scroll has problems crossing the 1MB line in some modes.
  431. Sympthom: An image from the 1st is overlayed on the image from the
  432. 2nd MB resulting in lots of flicker.
  433. While copy via BitBLT works in HiColor modes, Fill does not.
  434.  
  435. Trident 8900B, 8900C:
  436. In Mode 13h (and the 16color modes) the display can't cross the 512K
  437. border, though once the display start is set>=512 it works.
  438.  
  439. Tseng ET3000:
  440. Some 16color modes (640x480x16 and 800x600x16) has problems enabling
  441. the upper 256KB.
  442.  
  443. WD90c31:
  444. The hardware cursor is only XOR, and doesn't work properly in HiColor.
  445. BitBlt sometimes skips blocks in 16c modes, and HiColor fill doesn't work
  446.  
  447. WD90c33:
  448. The WD90c33 was only tested with 1mb, so the extra bits for accessing
  449. and scrolling beoynd 1MB has not been tested.
  450. The hardware cursor is only XOR.
  451.  
  452. Weitek:
  453. The Weitek chip tested was the VGA part of a P9000 card with only 256K
  454. VGA memory. The 5x86 will all be ID'd as 5186.
  455.  
  456.  
  457. Generel Problems:
  458.  
  459. I can't tell the difference between the Sierra "Mark2" SC11482/3/4
  460. (15 bits) and the "Mark3" SC11485/7/9 (15/16 bits) RAMDACs.
  461.  
  462. Search for modes doesn't understand 2 and 4 color modes.
  463. In general 2 and 4 color modes are only supported partially.
  464.  
  465. Mode 0Fh and 11h (and other 2 color modes) has problems in some cases.
  466.  
  467. Mode 13h has a pixel double function. Most chips use Master Clock/2
  468. (3C4h index 1 bit 3) for this, but some chips has their own system.
  469.  
  470. Some of the extended modes may only be implemented on
  471. some otherwise similar boards, depending on make and BIOS rev.
  472.  
  473.  
  474. Utilities:
  475.  
  476. DMPMEM:
  477.  
  478.   DMPMEM dumps the ROMs to files named DMPxxxx.ROM (where xxxx is
  479.   the hex address of the ROM Ie. DMPC000.ROM for VGA).
  480.   Interrupt and Font addresses are saved to the file VECTORS.ROM
  481.   As Mouse drivers, national keyboard drivers, memory managers
  482.   etc can obscure the results the program should be run on a clean
  483.   system (empty CONFIG.SYS and AUTOEXEC.BAT say from a floppy).
  484.  
  485.  
  486. TABLE:
  487.  
  488.   Takes the register sets dumped to the file REGISTER.VGA and writes
  489.   them to REGISTER.TBL. If a register has the same value in all register
  490.   sets, the value is only shown the first time.
  491.   As the same file names are used every time you will have to delete
  492.   and rename the files as needed.
  493.  
  494.  
  495. VESALIE:
  496.  
  497.   Can change the version and amount of memory reported by your VESA driver.
  498.   Can also hide the VESA driver, so other applications don't see it.
  499.   Parameters:  /0 /1 /2  Makes the VESA driver report a specific VESA
  500.                          VBE version (1.00, 1.01 or 1.02).
  501.                /on /off  Turns the VESA VBE on or off. By turning the
  502.                          VBE off you can prevent applications from using
  503.                          the VESA interface. Also if you try to load
  504.                          another VESA driver, it may refuse to install
  505.                          while the original driver is visible.
  506.                /Mxx      Forces the VESA driver to report the specified
  507.                          amount (in Kbytes) of video memory.
  508.                /U        Unload the VESALIE program.
  509.  
  510.   Note that this NOT a VESA driver, it just changes the behavior of
  511.   an already installed driver.
  512.  
  513.  
  514. SHOWTEST:
  515.  
  516.   Analyses the results in the .tst files generated when WHATVGA is
  517.   run with the /a option (WHVGAxxx.TST).
  518.   Parameters: SHOWTEST [tstfil] [outfil] [/r]
  519.   When run without parameters it lists the test files in the current
  520.   directory, showing the filename, chipset, memory, DAC and chipname.
  521.   When run with the name of a test file, the test results in this file
  522.   are written to the outfile. If no outfile is specified, the name of
  523.   the test file is used, with the extension changed to .txt
  524.   If the /r switch is used the register dumps for each mode is written
  525.   to the outfile (or to .reg).
  526.  
  527.  
  528.